Theme: add helper class names for Adwaita
authorJakub Steiner <jimmac@gmail.com>
Mon, 10 Dec 2018 13:16:52 +0000 (14:16 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 12 Feb 2019 05:19:22 +0000 (06:19 +0100)
- helps legibility of app icons

Addresses https://gitlab.gnome.org/GNOME/gtk/issues/1434

gtk/ui/gtkaboutdialog.ui
gtk/ui/gtkappchooserwidget.ui

index 4d96454521d3fefd962143ad0c2e6e24e21e8889..3d4996fa45a44e0ff9976b25be3263f18c8c4c05 100644 (file)
@@ -27,6 +27,9 @@
             <child>
               <object class="GtkImage" id="logo_image">
                 <property name="icon-name">image-missing</property>
+                <style>
+                  <class name="icon-dropshadow"/>
+                </style>
               </object>
             </child>
             <child>
index d23a402ca8c4bf2569846db9620e78c5e13667d9..484599d16a1e594efae3b4f1f0524f3e1c1494d3 100644 (file)
                       <object class="GtkCellRendererText" id="secondary_padding"/>
                     </child>
                     <child>
-                      <object class="GtkCellRendererPixbuf" id="app_icon"/>
+                      <object class="GtkCellRendererPixbuf" id="app_icon">
+                        <style>
+                          <class name="lowres-icon"/>
+                        </style>
+                        <property name="stock-size">5</property>
+                      </object>
                       <attributes>
                         <attribute name="gicon">1</attribute>
                       </attributes>